﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcFinalTest.Models.BranchModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Branch Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Branch Details</h2>

    <fieldset>
        <legend>Branch Detail</legend>
        <table>
            <tr>
                <td><b>Branch ID</b></td>
                <td>:</td>
                <td><%: Model.BranchId %></td>
            </tr>
            <tr>
                <td><b>Name</b></td>
                <td>:</td>
                <td><%: Model.Name %></td>
            </tr>
            <tr>
                <td><b>Address</b></td>
                <td>:</td>
                <td><%: Model.Address %></td>
            </tr>
            <tr>
                <td><b>Zip Code</b></td>
                <td>:</td>
                <td><%: Model.ZipCode %></td>
            </tr>
        </table>       
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { id=Model.BranchId }) %> |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

